import { NgModule } from '@angular/core';
import { AppComponent } from './app.component';

import { importComponents, importModules, importServices } from './app.comMgr';
import { registerLocaleData } from '@angular/common';
import zh from '@angular/common/locales/zh';

registerLocaleData(zh);

@NgModule({
    declarations: [
        AppComponent,
        ...importComponents,
    ],
    imports: [
        ...importModules
    ],
    providers: [
        ...importServices
    ],
    bootstrap: [AppComponent]
})
export class AppModule { }
